
local img1 = lv.img_create( lv.scr_act() );

lv.img_set_src( img1, "img_cogwheel_argb.png" );

lv.obj_align( img1, lv.LV_ALIGN_CENTER, 0, -20 );

lv.obj_set_size( img1, 200, 200 );

local img2 = lv.img_create( lv.scr_act() );

lv.img_set_src( img2, lv.LV_SYMBOL_OK .. "Accept" );

lv.obj_align_to( img2, img1, lv.LV_ALIGN_OUT_BOTTOM_MID, 0, 20 );
